package cn.com.blueInfo.HaiYuan.business.purchase.service;

import cn.com.blueInfo.utils.result.BootstrapTable;
import cn.com.blueInfo.utils.result.ResultInfo;

import javax.servlet.http.HttpServletRequest;

/**
 * 采购单据服务接口
 * @ClassName: PurchaseVoucherService
 * @author suxch
 * @date 2019年4月24日  上午9:41:15
 */
public interface PurchaseVoucherService {

    /**
     * 分页查询采购单数据
     * @Title: queryPurchaseVoucherDataByPage
     * @param request
     * @return BootstrapTable
     * @throws
     */
    BootstrapTable queryPurchaseVoucherDataByPage(HttpServletRequest request);

    /**
     * 获取最大排序编号
     * @Title: getMaxOrderNumber
     * @param request
     * @return ResultInfo
     * @throws
     */
    ResultInfo queryMaxOrderNumber(HttpServletRequest request);

    /**
     * 新增采购单数据
     * @Title: addPurchaseVoucherData
     * @param request
     * @return ResultInfo
     * @throws
     */
    ResultInfo addPurchaseVoucherData(HttpServletRequest request);

    /**
     * 更新采购单数据
     * @Title: updatePurchaseVoucherData
     * @param request
     * @return ResultInfo
     * @throws
     */
    ResultInfo updatePurchaseVoucherData(HttpServletRequest request);

    /**
     * 删除采购单数据
     * @Title: deletePurchaseVoucherData
     * @param request
     * @return ResultInfo
     * @throws
     */
    ResultInfo deletePurchaseVoucherData(HttpServletRequest request);

}
